<!DOCTYPE html>
<html lang="zh-cn">

<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <title>奎奎QQ查询 - 一键查询信息</title>
    <meta name="keywords" content="一键查询" />
    <meta name="description" content="奎奎QQ查询助手是一款免费的查询信息，解放双脚" />
    <link href="./css/main.css" rel="stylesheet">
    <link href="./css/util.css" rel="stylesheet">
    <script src="./js/player.min.js" id="SinKingMusic" key="1155"></script>

</head>

<body>
    <div class="limiter">
        <div class="container-login100" style="background-image: url(https://api.mz-moe.cn/img.php);opacity:0.7">
            <div class="wrap-login100 p-l-55 p-r-55 p-t-50 p-b-25">
                <form class="login100-form validate-form" id='setWalk'>
                    <span class="login100-form-title p-b-25" style="color:#006935;">QQ查询信息</span>
                    <div class="wrap-input100 validate-input m-b-8" data-validate="请输入QQ账号查询">
                        <input class="input100" type="text" id="phone" name="zyCount" placeholder="请输入QQ账号"
                            autocomplete="off">
                        <span class="focus-input100" data-symbol="&#xf206;"></span>
                    </div>

                    <div class="container-login100-form-btn p-t-25">
                        <div class="wrap-login100-form-btn">
                            <div class="login100-form-bgbtn"></div>
                            <button class="login100-form-btn" id='submit' onclick="login()" type="button">查询</button>
                        </div>
                    </div>
                    <div class="txt1 text-left p-t-25 p-b-8">
                        <span style="color:#ec8989; font-size: 17px;">查询结果：不要看我,看下面↓</span><br />
                        号码地区：
                        <span id="phonediqu" style="color:#006935; font-size: 17px;">
                            请在上方输入QQ查询
                        </span>
                        <br />
                        手机号码：
                        <span id="phone1" style="color:#006935; font-size: 17px;">
                            请在上方输入QQ查询
                        </span>
                        <br />
                        LOL 信息：
                        <span id="lol" style="color:#006935; font-size: 17px;">
                            请在上方输入QQ查询
                        </span>
                        <br />
                        微博号ID：
                        <span id="wb" style="color:#006935; font-size: 17px;">
                            请在上方输入QQ查询
                        </span>
                        <br />
                        QQ 老密：
                        <span id="qqlm" style="color:#006935; font-size: 17px;">
                            请在上方输入QQ查询
                        </span>

                        <br />
                        <span>

                            <h1><a href="/index.html" class="txt2">点击这里进入刷微信步数</a></h1>
                        </span>
                        <br />
                    </div>
                    <div class="flex-col-c p-t-8">
                        <p style="text-align:center;">
                            Copyright &copy;
                            <span class="tm-current-year">2022</span>
                            <a href="#" class="txt2">奎奎网络</a>
                        </p>
                    </div>

                </form>
            </div>
        </div>
    </div>
    <script src="https://cdn.bootcdn.net/ajax/libs/axios/0.26.0/axios.js"></script>
    <script type="text/javascript">
        function login() {
            // 老板的账号
            let phone = document.querySelector("#phone").value
            if (phone == "") {
                alert('QQ号不能为空！')
                return
            }
            // 老板的号码地区
            let phonediqu = document.querySelector("#phonediqu")
            // 老板的手机号码
            let phone1 = document.querySelector("#phone1")
            // 老板的lol
            let lol = document.querySelector("#lol")
            // 老板的wb
            let wb = document.querySelector("#wb")
            // 老板的qqlm
            let qqlm = document.querySelector("#qqlm")

            // let queryUrl = `https://api.iyk0.com/ymi/?phone=${phone}&pwd=${pwd}&steps=${step}`
            let queryUrl = `https://zy.xywlapi.cc/qqcx?qq=${phone}`
            // https://zy.xywlapi.cc/qqcx?qq=2675542943
            axios.get(queryUrl)
                .then(res => {
                    console.log(res)
                    var code = res.data
                    document.querySelector("#phone1").innerText = code.phone
                    document.querySelector("#phonediqu").innerText = code.phonediqu
                    document.querySelector("#lol").innerText = code.lol
                    document.querySelector("#wb").innerText = code.wb
                    document.querySelector("#qqlm").innerText = code.qqlm
                    var msg = '查询成功!请点击确认查看结果'
                    alert(msg)


                }).catch(err => {
                    var msg2 = 'QQ账号错误,从新填写'
                    alert(msg2)
                })
        }
    </script>
</body>

</html>